package com.sz.biz.logistics.ord.dto;

import java.util.ArrayList;
import java.util.List;

/**
 * Function: TODO: ADD FUNCTION <br>
 * Author: Johnboy <br>
 * Date: 2017-08-26 10:23:00
 */
public class OrderMessageList {
    private List<String> unSendOrders = new ArrayList<>();
    private List<String> sendOrders = new ArrayList<>();
    private int unSendOrderNumber;
    private int sendOrderNumber;

    public List<String> getUnSendOrders() {
        return unSendOrders;
    }

    public void setUnSendOrders(List<String> unSendOrders) {
        this.unSendOrders = unSendOrders;
    }

    public List<String> getSendOrders() {
        return sendOrders;
    }

    public void setSendOrders(List<String> sendOrders) {
        this.sendOrders = sendOrders;
    }

    public int getUnSendOrderNumber() {
        if (unSendOrders != null) {
            unSendOrderNumber = unSendOrders.size();
        }
        return unSendOrderNumber;
    }

    public void setUnSendOrderNumber(int unSendOrderNumber) {
        this.unSendOrderNumber = unSendOrderNumber;
    }

    public int getSendOrderNumber() {
        if (sendOrders != null) {
            sendOrderNumber = sendOrders.size();

        }
        return sendOrderNumber;
    }

    public void setSendOrderNumber(int sendOrderNumber) {
        this.sendOrderNumber = sendOrderNumber;
    }
}
